﻿using Manon.Repository;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Manon.Admin.Web.ApplicationCore.Entities
{
    [Table("users")]
    public class Users : IBaseEntity
    {
        public int Id { get; set; }
         
        public string UserName { get; set; }

        public string RealName { get; set; }

        public string Password { get; set; }

        public bool Enabled { get; set; }

        public DateTime? LastLoginTime { get; set; }

        public DateTime CreateTime { get; set; }
         
        public DateTime UpdateTime { get; set; }
        public int CreateBy { get; set; }
        public int UpdateBy { get; set; }
        public DateTime? DeleteTime { get; set; }
        public bool IsDeleted { get; set; }
    }
}
